/*
* Copyrigth 2008 Company All rigths reserved
* File Name: ILaboratory.cs
* Created By:    Wenbin.Xu
* Created Date:   2013/7/8 16:31:13
* Description:    Laboratory模块的接口
* Change History: 
* 
* */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrainingsApp.Model;
using TrainingsApp.DAL;
using System.Web.UI.WebControls;

namespace TrainingsApp.Logic {
    public class TS_TeachMaterials_Logic {

        public static List<TS_TeachMaterials_Entity> TS_TeachMaterials_ListAll() {
            return TS_TeachMaterials_DAL.TS_TeachMaterials_ListAll();
        }

        public static List<TS_TeachMaterials_Entity> TS_TeachMaterials_ListByCourse(int courseId) {
            return TS_TeachMaterials_DAL.TS_TeachMaterials_ListByCourse(courseId);
        }


        public static List<TS_TeachMaterials_Entity> TS_TeachMaterials_ListForChildren(long schoolId, long classId) {
            return TS_TeachMaterials_DAL.TS_TeachMaterials_ListForChildren(schoolId, classId);
        }

        public static List<TS_TeachMaterials_Entity> TS_TeachMaterials_ListForTeacher(long userId) {
            return TS_TeachMaterials_DAL.TS_TeachMaterials_ListForTeacher(userId);
        }


        public static TS_TeachMaterials_Collecion TS_TeachMaterials_ListByPaging(int pageSize, int pageIndex) {
            return TS_TeachMaterials_DAL.TS_TeachMaterials_ListByPaging(pageSize, pageIndex);
        }

        public static TS_TeachMaterials_Entity TS_TeachMaterials_View(System.Int64 Idx) {
            return TS_TeachMaterials_DAL.TS_TeachMaterials_View(Idx);
        }

        public static TS_TeachMaterials_Entity TS_TeachMaterials_Add(TS_TeachMaterials_Entity entity) {
            return TS_TeachMaterials_DAL.TS_TeachMaterials_Add(entity);
        }

        public static void TS_TeachMaterials_Update(TS_TeachMaterials_Entity entity) {
            TS_TeachMaterials_DAL.TS_TeachMaterials_Update(entity);
        }

        public static void TS_TeachMaterials_Delete(System.Int64 Idx) {
            TS_TeachMaterials_DAL.TS_TeachMaterials_Delete(Idx);
        }


    }
}
